<div id="frmRevert" active_url="<?php print site_url('xk/revert_product') ?>">
<table style="margin: auto;">
    <tbody>
    
        <tr>
            <td><label><?php print lang('vt_tenvt'); ?></label>:</td>
            <td><?php print ( isset($product) )? $product->name : ''; ?><input readonly="readonly" type="hidden" name="name" value="<?php print ( isset($product) )? $product->name : ''; ?>" class="itext ivalidate ui-widget-content ui-corner-all" /></td>
        </tr>
        <tr>
            <td><label><?php print lang('vt_mavt'); ?></label>:</td>
            <td><?php print ( isset($product) )? $product->code : ''; ?><input readonly="readonly" type="hidden" name="code" value="<?php print ( isset($product) )? $product->code : ''; ?>" class="itext ivalidate ui-widget-content ui-corner-all" /></td>
        </tr>
        <tr>
            <td><label><?php print lang('vt_soluongxuat'); ?></label>:</td>
            <td><?php print ( isset($product) )? decimal_format($product->export_total) : 0; ?><input readonly="readonly" type="hidden" name="export_total" value="<?php print ( isset($product) )? decimal_format($product->export_total) : 0; ?>" class="itext ivalidate ui-widget-content ui-corner-all" /></td>
        </tr>
        <tr>
            <td><label><?php print lang('vt_soluongdatra'); ?></label>:</td>
            <td><?php print ( isset($product) )? decimal_format($product->revert_total) : ''; ?><input readonly="readonly" type="hidden" name="revert_total" value="<?php print ( isset($product) )? decimal_format($product->revert_total) : ''; ?>" class="itext ivalidate ui-widget-content ui-corner-all" /></td>
        </tr>
        <tr>
            <td><label><?php print lang('vt_soluongtra'); ?></label>:</td>
            <td><input type="text" name="revert" value="" class="itext ivalidate ui-widget-content ui-corner-all" /></td>
        </tr>
        <tr>
            <td colspan="2"><div id="error_revert" class="error"></div></td>
        </tr>
    </tbody>
</table>
<input type="hidden" name="export_product_id" value="<?php print ( isset($product) )? $product->id : 0; ?>">
</div>